package cn.tedu.fw.controller;

import cn.tedu.common.vo.JsonResult;

import cn.tedu.fw.param.FwDTO;
import cn.tedu.fw.service.IFwService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/app/fw")
@Api(tags = "服务模块")
@Validated
public class FwController {
    @Autowired
    private IFwService fwService;
    @GetMapping
    public JsonResult<List> list(FwDTO fwDTO){
      //   List<FwVO> list =  fwService.list(fwDTO);
        return JsonResult.ok("hello");
    }

}
